package entity;

public class Product {
    private Integer productId;
    private String productName;
    private String category;//类别
    private Float cost;//成本
    private Float price;//价格
    private int deposit;//库存
    private String unit;//单位

    public Product(Integer productId, String productName, String category, Float cost, Float price, int deposit, String unit) {
        this.productId = productId;
        this.productName = productName;
        this.category = category;
        this.cost = cost;
        this.price = price;
        this.deposit = deposit;
        this.unit = unit;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public Float getCost() {
        return cost;
    }

    public void setCost(Float cost) {
        this.cost = cost;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public int getDeposit() {
        return deposit;
    }

    public void setDeposit(int deposit) {
        this.deposit = deposit;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }
}
